6ee70916ff7e89fa58292e0e63cb0acf6a6bbed5,spring-data-cassandra/src/test/java/org/springframework/data/cassandra/test/integration/core/CassandraOperationsIntegrationTests.java,CassandraOperationsIntegrationTests,insertBatchTest,#,204
Before Change
@Test
public void insertBatchTest() {
WriteOptions options = new WriteOptions();
options.setTtl(60);
options.setConsistencyLevel(ConsistencyLevel.ONE);
options.setRetryPolicy(RetryPolicy.DOWNGRADING_CONSISTENCY);
List<Book> books = null;
After Change
@Test
public void insertBatchTest() {
WriteOptions options = newWriteOptions(ConsistencyLevel.ONE, RetryPolicy.DOWNGRADING_CONSISTENCY, 60);
List<Book> books = getBookList(20);